Accelerator Salesforce Global Party System API - Implementation Template

(0 reviews)

Data mappings

This document provides information generated from the DataWeave scripts included in the project, such as function definitions, variable definitions, and data mapping tables.

ModuleDescription
CommonToolsThis module provides utility functions and mappings for Customer transformations
CustomerToolsThis module provides utility functions and mappings for Customer transformations
retrieve-externalids-responseExternalIds Query Mapping for Salesforce Global Data System
customers-search-responseSalesforce Account to CIM Customer format mapping response
map-contactpoints-for-customerSalesforce Customer Contact Points to CIM Customer format mapping
retrieve-customer-by-id-responseSalesforce Account to CIM Customer format mapping
update-household-customerSalesforce Household Account update mapping
update-individual-customerSalesforce Person Account update mapping
update-organization-customerSalesforce Organization Account update mapping
lookup-households-responseSalesforce Look up Household mapping
retrieve-household-by-id-response-to-cimSalesforce Retrieve Household mapping
retrieve-individual-by-id-response-to-cimSalesforce Retrieve Individual mapping
search-individuals-responseSalesforce Person Account to CIM Customer format mapping
retrieve-organization-by-id-response-to-cimSalesforce Retrieve Organization mapping
search-organizations-responseSalesforce Organization Account to CIM Customer format mapping
retrieve-search-parties-response-to-cimSalesforce Lookup Account to Party CIM mapping
retrieve-search-partyroles-response-to-cimSalesforce Look up Account to PartyRole CIM mapping

CommonTools

This module provides utility functions and mappings for Customer transformations

Source: ./src/main/resources/dwl/common/CommonTools.dwl

Functions

fun getFormattedDateTime (toFormat)

Formats the date-time to the type accepted by CIM

fun getGlobalId (externalIdsArr)

This function filters ExternalIds with ExternalId Type as MDM and returns the first one

return Global ExternalID

fun getCustomerStatus (status)

Function to return appropriate Status that matches to status in Salesforce

param status Status as in MDM
return status equivalent in Salesforce

fun generateMDMIDObj (refId)

Function to generate externalID obj with externalID as RefId & externalIdType as MDM

return generated MDM externalID object

fun generateSFDCIDObj (refId)

Function to generate externalID obj with externalID as RefId & externalIdType as SFDC External ID Type configured

return generated SFDC externalID object

fun generateSFDCIDObj (refId, externalIdType)

Function to generate externalID obj with externalID as RefId & externalIdType as externalIdType

return generated externalID object

fun filterObjectsByTypeAndId (objects: Array<Any>, objectType: String, objectId: String)

Function to filter objectType and objectID from an Array or records

return array of externalIDs mapped in CIM

fun isCompositeRequestSuccess (response)

Function to check if all the sub-requests of a Composite Request are successful

return true if all the sub-requests response status starts with "2"

fun getManagedExternalIdObj (externalIdObj, objectId, objectType)

Function to return the ManagedExternalID object with mapped values from externalId object, object ID and object type as input parameters.

return Sobject of Managed_External_Id__c type

fun appendObjectTypeAndIdToExternalIds (externalIdsArr, objectType, objectId)

Function to append objectType property to externalIds.

return Sobject of Managed_External_Id__c type

fun getManagedExternalIdsMap (externalIds)

Function to return the ManagedExternalID map. This function takes externalIDs array as input parameters This uses the function getManagedExternalIdObj

return Map of Managed_External_Id__c

fun getManagedExternalIdsMap (externalIds, objectId, objectType)

Function to return the ManagedExternalID map. This function takes externalIDs array as input parameters This uses the function getManagedExternalIdObj

return Map of Managed_External_Id__c

fun getExternalIdsMapForParty (partyExternalIds, partyType, objectId)

Function to return ExternalIDs for Party. This function takes party and objectId as parameters. It generates the externalIdType of MDM and SALESFORCE_CORE and adds if any externalIds on the party object. Appends the objectType and objectId to the result array. This will be used to generate the ManagedExternalIdsMap.

return array of ExternalIDsMap

fun getExternalIdsMapForIndividualContactPoints (contactPoints, objectId)

Function to return ExternalIDs for PartyRole. This function takes partyRole and objectId as parameters. It generates the externalIdType of MDM and SALESFORCE_CORE and adds if any externalIds on the partyRole object. Appends the objectType and objectId to the result array. This will be used to generate the ManagedExternalIdsMap.

return array of ExternalIDsMap

fun getExternalIdsMapForOrganizationContactPoints (contactPoints, objectId)

Function to return ExternalIDs for PartyRole. This function takes partyRole and objectId as parameters. It generates the externalIdType of MDM and SALESFORCE_CORE and adds if any externalIds on the partyRole object. Appends the objectType and objectId to the result array. This will be used to generate the ManagedExternalIdsMap.

return array of ExternalIDsMap

fun getExternalIdsWithObjectTypeToUpdate (existingExtIdsArr, currExtIdsArr)

Function to return ExternalIDs Array to update. This function takes existing externalIds array in global system and input externalIds array as parameters. It generates the list of externalId objects that requires update.

return array of ExternalID objects

fun getExternalIdsWithObjectTypeToCreate (existingExtIdsArr, currExtIdsArr)

Function to return ExternalIDs Array to create. This function takes existing externalIds array in global system and input externalIds array as parameters. It generates the list of externalId objects that needs to be created.

return array of ExternalID objects

fun getpartyType (recordType)

This function takes recordType as parameter and returns partyType

return partyType

fun isOrgAccount (isPersonAccount)

Function to confirm if the is organization account by checking if its not person account.

param isPersonAccount flag to confirm person account or not
return flag to confirm the account is organization account or not

(back to top)

CustomerTools

This module provides utility functions and mappings for Customer transformations

Source: ./src/main/resources/dwl/common/CustomerTools.dwl

Functions

fun getFormattedDateTime (toFormat)

Formats the date-time to the type accepted by CIM

fun getGlobalId (externalIdsArr)

This function filters ExternalIds with ExternalId Type as MDM and returns the first one

return Global ExternalID

fun updateIndividualAddressArr (contactPoints)

This function sets default value for isUsedForBilling and isUsedForShipping flag in the ContactPointAddress array and returns the updated array

fun getMailingAddressArr (contactPoints)

This function filters addresses with isUsedForBilling flag as false

fun getIndividualMailingAddress (contactPoints)

This function gets the MailingAddress from Addresses array

fun getIndividualBillingAddress (contactPoints)

Filter Address with isUsedForBilling as true and return the first record

fun getIndividualShippingAddress (contactPoints)

Filter Address with isUsedForShipping as true and return the first record

fun updateIndividualPhonesArr (contactPoints)

This function sets default value for isSMSCapable flag in the ContactPointPhone array and returns the updated array

fun getPhonesArr (contactPoints)

This function filters phone numbers with isSMSCapable flag as false

fun getIndividualPhoneInfo (contactPoints)

This function gets the Phone Info from Phones array

fun getMobilePhoneInfo (contactPoints)

Filter Phone Numbers with isSMSCapable as true and return the first record

fun getEmailAddressArr (contactPoints)

This function gets the EmailAddress from ContactPoint Array

fun getPrimaryEmailAddress (contactPoints)

This function returns the Primary EmailAddress

fun getCustomerStatus (status)

Function to return appropriate Status that matches to status in Salesforce

param status Status as in MDM
return status equivalent in Salesforce

fun updateOrganizationAddressArr (contactPoints)

This function sets default value for isUsedForBilling and isUsedForShipping flag in the ContactPointAddress array and returns the updated array

fun getOrgBillingAddressArr (contactPoints)

This function filters addresses with isUsedForBilling as true or both isUsedForBilling and isUsedForShipping flags as false

fun getOrgBillingAddress (contactPoints)

This function gets the BillingAddress from Addresses array

fun getOrgShippingAddress (contactPoints)

Filter Address with isUsedForShipping as true and return the first record

fun updateOrganizationPhonesArr (contactPoints)

This function sets default value for isFaxCapable flag in the ContactPointPhone array and returns the updated array

fun getOrgPhonesArr (contactPoints)

This function filters phone numbers with isFaxCapable flag as false

fun getOrgPhoneInfo (contactPoints)

This function gets the Phone Info from Phones array

fun getFaxPhoneInfo (contactPoints)

Filter Phone Numbers with isFaxCapable as true and return the first one record

(back to top)

retrieve-externalids-response

ExternalIds Query Mapping for Salesforce Global Data System

Source: ./src/main/resources/dwl/common/retrieve-externalids-response.dwl

Mapping Tables

ExternalIds CIMSFDC Global DataDescription
idIdThe id of the entry in SFDC Global Data System
externalIdExternal_Id__cA unique identifier assigned to the customer in another system
externalIdTypeExternal_Id_Type__cIdentifies the system that owns or otherwise recognizes this unique identifier
objectTypeObject_Type__cIdentifies base type of the object the external identifier references
statusStatus__cIndicates whether this identifier is currently valid or not
statusLastChangedDateStatus_Last_Changed__cDate and time of the last change in status

(back to top)

customers-search-response

Salesforce Account to CIM Customer format mapping response

Source: ./src/main/resources/dwl/customers/customers-search-response.dwl

Mapping Tables

CIMSalesforce Customer AccountDescription
partyRoleTypeCustomerHardcoded partyRoleType to customer
idIdThe customer Id
party.idIdThe customer Id
party.salutationSalutationThe customer salutation
party.personNameFirstName and LastNameThe customer personal name (concatenate FistName + LastName)
party.firstNameFirstNameThe customer first name
party.lastNameLastNameThe customer Last name
party.birthDatePersonBirthdateThe customer birth date
party.nameNameThe customer name if partyType is Organization
party.partyTypeRecordType.NameThe Record type stored in Global Data System
party.contactPoints.contactPointTypeContactPointAddressHardcoded customer contact type to ContactPointAddress
party.contactPoints.addressLine1BillingStreetThe customers mailing address
party.contactPoints.cityNameBillingCityThe customers mailing city
party.contactPoints.postalCodeTextBillingPostalCodeThe customer mailing postal code
party.contactPoints.stateProvinceNameBillingStateThe customer state province name
party.contactPoints.countryNameBillingCountryThe customer country name
party.contactPoints.geoLatitudeBillingLatitudeThe customer geo-latitude code
party.contactPoints.geoLongitudeBillingLongitudeThe customer geo-longitude code
party.contactPoints.geoAccuracyBillingGeocodeAccuracyThe customer geo-code accurate location
party.contactPoints.contactPointTypeContactPointAddressHardcoded customer contact type to ContactPointAddress
party.contactPoints.addressLine1ShippingStreetThe customers mailing address
party.contactPoints.cityNameShippingCityThe customers mailing city
party.contactPoints.postalCodeTextShippingPostalCodeThe customer mailing postal code
party.contactPoints.stateProvinceNameShippingStateThe customer state province name
party.contactPoints.countryNameShippingCountryThe customer country name
party.contactPoints.geoLatitudeShippingLatitudeThe customer geo-latitude code
party.contactPoints.geoLongitudeShippingLongitudeThe customer geo-longitude code
party.contactPoints.geoAccuracyShippingGeocodeAccuracyThe customer geo-code accurate location
party.contactPoints.contactPointTypeContactPointAddressHardcoded customer contact type to ContactPointAddress
party.contactPoints.addressLine1PersonMailingStreetThe customers mailing address
party.contactPoints.cityNamePersonMailingCityThe customers mailing city
party.contactPoints.postalCodeTextPersonMailingPostalCodeThe customer mailing postal code
party.contactPoints.stateProvinceNamePersonMailingStateThe customer state province name
party.contactPoints.countryNamePersonMailingCountryThe customer country name
party.contactPoints.geoLatitudePersonMailingLatitudeThe customer geo-latitude code
party.contactPoints.geoLongitudePersonMailingLongitudeThe customer geo-longitude code
party.contactPoints.geoAccuracyPersonMailingGeocodeAccuracyThe customer geo-code accurate location
party.contactPoints.contactPointTypeContactPointEmailHardcoded customer contact type to ContactPointEmail
party.contactPoints.emailAddressPersonEmailThe customer contact email address
party.contactPoints.contactPointTypeContactPointPhoneHardcoded customer contact type to ContactPointPhone
party.contactPoints.telephoneNumberPhoneThe customer phone number
party.contactPoints.contactPointTypeContactPointPhoneHardcoded customer contact type to ContactPointPhone
party.contactPoints.telephoneNumberFaxThe customer fax number
party.contactPoints.contactPointTypeContactPointPhoneHardcoded customer contact type to ContactPointPhone
party.contactPoints.telephoneNumberPersonMobilePhoneThe customer personal phone number
externalIds.ididId field is hardcoded as null
externalIds.externalIdIdThe customer Id stored in Global Data System
externalIds.externalIdTypeMDMThe customer externalId type is hardcoded as MDM
externalIds.statusLastChangedDateLastModifiedDateLast modified date to "yyyy-MM-dd'T'HH:mm:ssz"
externalIds.statusVALIDThe customer status is hardcoded as VALID
auditInfo.createdDateCreatedDateThe customer created date to "yyyy-MM-dd'T'HH:mm:ssz"
auditInfo.createdByCreatedBy.NameThe last created by user name
auditInfo.updatedDateLastModifiedDateThe last updated date to "yyyy-MM-dd'T'HH:mm:ssz"
auditInfo.updatedByLastModifiedBy.NameThe last modified user name
auditInfo.isDeletedIsDeletedreturns true if user deleted else false
customerNumberAccountNumberThe customer Account Number
customerStatusCustomer_Status__cThe customer status with default Active

(back to top)

map-contactpoints-for-customer

Salesforce Customer Contact Points to CIM Customer format mapping

Source: ./src/main/resources/dwl/customers/map-contactpoints-for-customer.dwl

Mapping Tables

ContactPoints CIMSalesforce Person AccountDescription
contactPointTypeContactPointAddressHardcoded customer contact type to ContactPointAddress
addressLine1BillingStreetThe customers mailing address
cityNameBillingCityThe customers mailing city
postalCodeTextBillingPostalCodeThe customer mailing postal code
stateProvinceNameBillingStateThe customer state province name
countryNameBillingCountryThe customer country name
geoLatitudeBillingLatitudeThe customer geo-latitude code
geoLongitudeBillingLongitudeThe customer geo-longitude code
geoAccuracyBillingGeocodeAccuracyThe customer geo-code accurate location
contactPointTypeContactPointAddressHardcoded customer contact type to ContactPointAddress
addressLine1ShippingStreetThe customers mailing address
cityNameShippingCityThe customers mailing city
postalCodeTextShippingPostalCodeThe customer mailing postal code
stateProvinceNameShippingStateThe customer state province name
countryNameShippingCountryThe customer country name
geoLatitudeShippingLatitudeThe customer geo-latitude code
geoLongitudeShippingLongitudeThe customer geo-longitude code
geoAccuracyShippingGeocodeAccuracyThe customer geo-code accurate location
contactPointTypeContactPointAddressHardcoded customer contact type to ContactPointAddress
addressLine1PersonMailingStreetThe customers mailing address
cityNamePersonMailingCityThe customers mailing city
postalCodeTextPersonMailingPostalCodeThe customer mailing postal code
stateProvinceNamePersonMailingStateThe customer state province name
countryNamePersonMailingCountryThe customer country name
geoLatitudePersonMailingLatitudeThe customer geo-latitude code
geoLongitudePersonMailingLongitudeThe customer geo-longitude code
geoAccuracyPersonMailingGeocodeAccuracyThe customer geo-code accurate location
contactPointTypeContactPointEmailHardcoded customer contact type to ContactPointEmail
emailAddressPersonEmailThe customer contact email address
contactPointTypeContactPointPhoneHardcoded customer contact type to ContactPointPhone
telephoneNumberPhoneThe customer phone number
contactPointTypeContactPointPhoneHardcoded customer contact type to ContactPointPhone
telephoneNumberFaxThe customer fax number
contactPointTypeContactPointPhoneHardcoded customer contact type to ContactPointPhone
telephoneNumberPersonMobilePhoneThe customer personal phone number

(back to top)

retrieve-customer-by-id-response

Salesforce Account to CIM Customer format mapping

Source: ./src/main/resources/dwl/customers/retrieve-customer-by-id-response.dwl

Variables

var isOrgAccount

Validate if the account is organization account

Mapping Tables

CIMSalesforce Person AccountDescription
partyRoleTypeCustomerHardcoded partyRoleType to customer
idIdThe customer Id
party.idIdThe customer Id
party.salutationSalutationThe customer salutation
party.personNameFirstName and LastNameThe customer personal name (concatenate FistName + LastName)
party.firstNameFirstNameThe customer first name
party.lastNameLastNameThe customer Last name
party.birthDatePersonBirthdateThe customer birth date
party.nameNameThe customer name if partyType is Organization
party.partyTypeRecordType.NameThe Record type stored in Global Data System
externalIds.ididId field is hardcoded as null
externalIds.externalIdIdThe external Id stored in Global Data System
externalIds.externalIdTypeExternal_Id_Type__cThe external system identifier
externalIds.statusLastChangedDateLastModifiedDateLast modified date to "yyyy-MM-dd'T'HH:mm:ssz"
externalIds.statusVALIDThe customer status is hardcoded as VALID
auditInfo.createdDateCreatedDateThe customer created date to "yyyy-MM-dd'T'HH:mm:ssz"
auditInfo.createdByCreatedBy.NameThe last created by user name
auditInfo.updatedDateLastModifiedDateThe last updated date to "yyyy-MM-dd'T'HH:mm:ssz"
auditInfo.updatedByLastModifiedBy.NameThe last modified user name
auditInfo.isDeletedIsDeletedreturns true if user deleted else false
customerNumberAccountNumberThe customer Account Number
customerStatusCustomer_Status__cThe customer status with default Active

(back to top)

update-household-customer

Salesforce Household Account update mapping

Source: ./src/main/resources/dwl/customers/update-household-customer.dwl

Mapping Tables

Salesforce AccountCIMDescription
IdIdThe Global Salesforce Id
Nameparty.nameThe Name of the household in Salesforce
Global_Party_Id__cIdThe Global Salesforce Id

(back to top)

update-individual-customer

Salesforce Person Account update mapping

Source: ./src/main/resources/dwl/customers/update-individual-customer.dwl

Mapping Tables

Salesforce Person AccountCIMDescription
IdIdThe customer Id from the Uriparams
Salutationparty.salutationThe salutation of the customer
FirstNameparty.firstNameThe First Name of the customer
lastNameparty.LastNameThe Last Name of the customer
PersonBirthDateparty.birthDateThe birth date of the customer
AccountNumbercustomerNumberThe customer Account Number
Global_Customer_Id__cIdThe customer Id stored in Global Data System
Global_Party_Id__cIdThe customer Id stored in Global Data System
Global_BillingAddress_Id__cIdThe customer Id stored in Global Data System
Global_ShipppingAddress_Id__cIdThe customer Id stored in Global Data System
Global_MailingAddress_Id__cIdThe customer Id stored in Global Data System
Global_EmailAddress_Id__cIdThe customer Id stored in Global Data System
Global_PhoneNumber_Id__cIdThe customer Id stored in Global Data System
Global_MobileNumber_Id__cIdThe customer Id stored in Global Data System
Customer__Status__ccustomerStatusStatus of customer
PersonEmailemailAddressEmail Address of the customer
PhonephoneTelephoneNumber of the customer
BillingStreetbillingAddress.addressLine1Address Line1 of ContactPointAddress in MDM that isUsedForBilling flag set to true
BillingCitybillingAddress.cityNameCity Name of ContactPointAddress in MDM that isUsedForBilling flag set to true
BillingPostalCodebillingAddress.postalCodeTextPostal Code Text of ContactPointAddress in MDM that isUsedForBilling flag set to true
BillingStatebillingAddress.stateProvinceNameState Province Name of ContactPointAddress in MDM that isUsedForBilling flag set to true
BillingCountrybillingAddress.countryNameCountryName of ContactPointAddress in MDM that isUsedForBilling flag set to true
BillingLatitudebillingAddress.geoLatitudeGeo Latitude of ContactPointAddress in MDM that isUsedForBilling flag set to true
BillingLongitudebillingAddress.geoLongitudeGeo Longitude of ContactPointAddress in MDM that isUsedForBilling flag set to true
PersonMailingStreetmailingAddress.addressLine1Address Line1 of ContactPointAddress in MDM that has primaryFlag flag set true
PersonMailingCitymailingAddress.cityNameCity Name of ContactPointAddress in MDM that that has primaryFlag flag set true
PersonMailingPostalCodemailingAddress.postalCodeTextPostal Code Text of ContactPointAddress in MDM that has primaryFlag flag set true
PersonMailingStatemailingAddress.stateProvinceNameState Province Name of ContactPointAddress in MDM that has primaryFlag flag set true
PersonMailingCountrymailingAddress.countryNameCountry Name of ContactPointAddress in MDM that has primaryFlag flag set true
PersonMailingLatitudemailingAddress.geoLatitudeGeo Latitude of ContactPointAddress in MDM that has primaryFlag flag set true
PersonMailingLongitudemailingAddress.geoLongitudeGeo Longitude of ContactPointAddress in MDM that has primaryFlag flag set true
PersonMobilePhonetelephoneNumberTelephone Number of ContactPointPhone in MDM that has isSMSCapable flag set true

(back to top)

update-organization-customer

Salesforce Organization Account update mapping

Source: ./src/main/resources/dwl/customers/update-organization-customer.dwl

Mapping Tables

Salesforce Organization AccountCIMDescription
IdIdThe customer Id from the Uriparams
Nameparty.nameThe customer organization name
AccountNumbercustomerNumberThe customer Account Number
Global_Customer_Id__cIdThe customer Id stored in Global Data System
Global_Party_Id__cIdThe customer Id stored in Global Data System
Global_BillingAddress_Id__cIdThe customer Id stored in Global Data System
Global_ShippingAddress_Id__cIdThe customer Id stored in Global Data System
Global_PhoneNumber_Id__cIdThe customer Id stored in Global Data System
Global_FaxNumber_Id__cIdThe customer Id stored in Global Data System
BillingStreetparty.contactPointAddress.addressLine1The billing Address of the customer where isUsedForBilling is set to true for the contact point address
BillingCityparty.contactPointAddress.cityNameThe billing city of the customer where isUsedForBilling is set to true for the contact point address
BillingPostalCodeparty.contactPointAddress.postalCodeTextThe billing postal code of the customer where isUsedForBilling is set to true for the contact point address
BillingStateparty.contactPointAddress.stateProvinceNameThe customer billing state where isUsedForBilling is set to true for the contact point address
BillingCountryparty.contactPointAddress.countryNameThe customer billing country where isUsedForBilling is set to true for the contact point address
BillingLatitudeparty.contactPointAddress.geoLatitudeThe customer geo latitude location where isUsedForBilling is set to true for the contact point address
BillingLongitudeparty.contactPointAddress.geoLongitudeThe customer geo longitude location where isUsedForBilling is set to true for the contact point address
ShippingStreetparty.contactPointAddress.addressLine1The shipping Address of the customer where isUsedForShipping is set to true for the contact point address
ShippingCityparty.contactPointAddress.cityNameThe shipping city of the customer where isUsedForShipping is set to true for the contact point address
ShippingPostalCodeparty.contactPointAddress.postalCodeTextThe shipping postal code of the customer where isUsedForShipping is set to true for the contact point address
ShippingStateparty.contactPointAddress.stateProvinceNameThe customer shipping state where isUsedForShipping is set to true for the contact point address
ShippingCountryparty.contactPointAddress.countryNameThe customer shipping country where isUsedForShipping is set to true for the contact point address
ShippingLatitudeparty.contactPointAddress.geoLatitudeThe customer geo latitude location where isUsedForShipping is set to true for the contact point address
ShippingLongitudeparty.contactPointAddress.geoLongitudeThe customer geo longitude location where isUsedForShipping is set to true for the contact point address
Faxparty.ContactPointPhone.telephoneNumberThe customer contact phone Number that has isFaxCapable flag set to true
Phoneparty.ContactPointPhone.telephoneNumberThe customer contact phone Number

(back to top)

lookup-households-response

Salesforce Look up Household mapping

Source: ./src/main/resources/dwl/households/lookup-households-response.dwl

Mapping Tables

CIM - HouseholdSalesforce - AccountDescription
idIdThe identifier of the household in Salesforce
nameNameThe name of the household in Salesforce
householdFormedDateCreatedDateThe name of the household in Salesforce
householdDissolvedDateLastModifiedDateThe name of the household in Salesforce when Status is 'Closed'
auditInfo.createdDateCreatedDateThe customer created date to "yyyy-MM-dd'T'HH:mm:ssz"
auditInfo.createdByCreatedBy.NameThe last created by user name
auditInfo.updatedDateLastModifiedDateThe last updated date to "yyyy-MM-dd'T'HH:mm:ssz"
auditInfo.updatedByLastModifiedBy.NameThe last modified user name
auditInfo.isDeletedIsDeletedreturns true if user deleted else false
externalIds.ididId field is hardcoded as null
externalIds.externalIdIdThe external Id stored in Global Data System
externalIds.externalIdTypeMDMThe type is hardcoded as MDM
externalIds.statusLastChangedDateLastModifiedDateLast modified date to "yyyy-MM-dd'T'HH:mm:ssz"
externalIds.statusVALIDThe externalId status is hardcoded as VALID

(back to top)

retrieve-household-by-id-response-to-cim

Salesforce Retrieve Household mapping

Source: ./src/main/resources/dwl/households/retrieve-household-by-id-response-to-cim.dwl

Mapping Tables

CIM - HouseholdSalesforce - AccountDescription
idIdThe identifier of the household in Salesforce
nameNameThe name of the household in Salesforce
householdFormedDateCreatedDateThe name of the household in Salesforce
householdDissolvedDateLastModifiedDateThe name of the household in Salesforce when Status is 'Closed'
auditInfo.createdDateCreatedDateThe customer created date to "yyyy-MM-dd'T'HH:mm:ssz"
auditInfo.createdByCreatedBy.NameThe last created by user name
auditInfo.updatedDateLastModifiedDateThe last updated date to "yyyy-MM-dd'T'HH:mm:ssz"
auditInfo.updatedByLastModifiedBy.NameThe last modified user name
auditInfo.isDeletedIsDeletedreturns true if user deleted else false
externalIds.ididId field is hardcoded as null
externalIds.externalIdIdThe external Id stored in Global Data System
externalIds.externalIdTypeExternal_Id_Type__cThe external system identifier
externalIds.statusLastChangedDateLastModifiedDateLast modified date to "yyyy-MM-dd'T'HH:mm:ssz"
externalIds.statusVALIDThe externalId status is hardcoded as VALID

(back to top)

retrieve-individual-by-id-response-to-cim

Salesforce Retrieve Individual mapping

Source: ./src/main/resources/dwl/individuals/retrieve-individual-by-id-response-to-cim.dwl

Mapping Tables

CIMSalesforce Person AccountDescription
idIdID of the customer
personNameFirstName and LastNameThe customer personal name (concatenate FistName + LastName)
firstNameFirstNameThe customer first name
lastNameLastNameThe customer Last name
birthDatePersonBirthdateThe customer birth date
partyTypeRecord TypeThe customer party type returned as Individual
auditInfo.createdDateCreatedDateThe customer created date to "yyyy-MM-dd'T'HH:mm:ssz"
auditInfo.createdByCreatedBy.NameThe last created by user name
auditInfo.updatedDateLastModifiedDateThe last updated date to "yyyy-MM-dd'T'HH:mm:ssz"
auditInfo.updatedByLastModifiedBy.NameThe last modified user name
auditInfo.isDeletedIsDeletedreturns true if user deleted else false
externalIds.ididId field is hardcoded as null
externalIds.externalIdIdThe external Id stored in Global Data System
externalIds.externalIdTypeExternal_Id_Type__cThe external system identifier
externalIds.statusLastChangedDateLastModifiedDateLast modified date to "yyyy-MM-dd'T'HH:mm:ssz"
externalIds.statusVALIDThe externalId status is hardcoded as VALID

(back to top)

search-individuals-response

Salesforce Person Account to CIM Customer format mapping

Source: ./src/main/resources/dwl/individuals/search-individuals-response.dwl

Mapping Tables

CIMSalesforce Person AccountDescription
idIdID of the customer
personNameFirstName and LastNameThe customer personal name (concatenate FistName + LastName)
firstNameFirstNameThe customer first name
lastNameLastNameThe customer Last name
partyTypeIndividualThe customer party type returned as Individual
externalIds.ididId field is hardcoded as null
externalIds.externalIdIdThe external Id stored in Global Data System
externalIds.externalIdTypeMDMThe type is hardcoded as MDM
externalIds.statusLastChangedDateLastModifiedDateLast modified date to "yyyy-MM-dd'T'HH:mm:ssz"
externalIds.statusVALIDThe externalId status is hardcoded as VALID
auditInfo.createdDateCreatedDateThe customer created date to "yyyy-MM-dd'T'HH:mm:ssz"
auditInfo.createdByCreatedBy.NameThe last created by user name
auditInfo.updatedDateLastModifiedDateThe last updated date to "yyyy-MM-dd'T'HH:mm:ssz"
auditInfo.updatedByLastModifiedBy.NameThe last modified user name
auditInfo.isDeletedIsDeletedreturns true if user deleted else false

(back to top)

retrieve-organization-by-id-response-to-cim

Salesforce Retrieve Organization mapping

Source: ./src/main/resources/dwl/organizations/retrieve-organization-by-id-response-to-cim.dwl

Mapping Tables

CIM - OrganizationSalesforce - AccountDescription
ididParty ID of the Customer
nameNameThe customer Organization name
partyTypeOrganizationThe customer party type returned as Organization
externalIds.ididid field is hardcoded as null
externalIds.externalIdExternal_Id__cThe party ID
externalIds.externalIdTypeExternal_Id_Type__cThe external system type identifier
externalIds.statusLastChangedDateLastModifiedDateLast modified date to "yyyy-MM-dd'T'HH:mm:ssz"
externalIds.statusVALIDThe external Id status is hardcoded as VALID
auditInfo.createdDateCreatedDateThe customer created date to "yyyy-MM-dd'T'HH:mm:ssz"
auditInfo.createdByCreatedBy.NameThe last created by user name
auditInfo.updatedDateLastModifiedDateThe last updated date to "yyyy-MM-dd'T'HH:mm:ssz"
auditInfo.updatedByLastModifiedBy.NameThe last modified user name
auditInfo.isDeletedIsDeletedreturns true if user deleted else false

(back to top)

search-organizations-response

Salesforce Organization Account to CIM Customer format mapping

Source: ./src/main/resources/dwl/organizations/search-organizations-response.dwl

Mapping Tables

CIMSalesforce AccountDescription
ididParty ID of the Customer
nameNameThe customer Organization name
partyTypeOrganizationThe customer party type returned as Organization
externalIds.ididid field is hardcoded as null
externalIds.externalIdIdThe party ID
externalIds.externalIdTypeExternal_Id_Type__cThe external system type identifier
externalIds.statusLastChangedDateLastModifiedDateLast modified date to "yyyy-MM-dd'T'HH:mm:ssz"
externalIds.statusVALIDThe external Id status is hardcoded as VALID
auditInfo.createdDateCreatedDateThe customer created date to "yyyy-MM-dd'T'HH:mm:ssz"
auditInfo.createdByCreatedBy.NameThe last created by user name
auditInfo.updatedDateLastModifiedDateThe last updated date to "yyyy-MM-dd'T'HH:mm:ssz"
auditInfo.updatedByLastModifiedBy.NameThe last modified user name
auditInfo.isDeletedIsDeletedreturns true if user deleted else false

(back to top)

retrieve-search-parties-response-to-cim

Salesforce Lookup Account to Party CIM mapping

Source: ./src/main/resources/dwl/parties/retrieve-search-parties-response-to-cim.dwl

Mapping Tables

CIM - partySalesforce Global DataDescription
idIdThe customer id in Salesforce Global Data System
party.idGlobal_Party_Id__cThe party identifier stored in Salesforce Global Data System
partyTypeRecordType.NameThe party type stored in Global Data System
externalIds.idnullid field is hardcoded as null
externalIds.externalIdIdThe customer id in Salesforce Global Data System
externalIds.externalIdTypeMDMThe ExternalIdType is hardcoded as MDM
externalIds.statusLastChangedDateLastModifiedDateLast modified date to "yyyy-MM-dd'T'HH:mm:ssz"
externalIds.statusVALIDThe customer status is hardcoded as VALID
auditInfo.createdDateCreatedDateThe customer created date to "yyyy-MM-dd'T'HH:mm:ssz"
auditInfo.createdByCreatedBy.NameThe last created by user name
auditInfo.updatedDateLastModifiedDateThe last updated date to "yyyy-MM-dd'T'HH:mm:ssz"
auditInfo.updatedByLastModifiedBy.NameThe last modified user name
auditInfo.isDeletedIsDeletedreturns true if user deleted else false

(back to top)

retrieve-search-partyroles-response-to-cim

Salesforce Look up Account to PartyRole CIM mapping

Source: ./src/main/resources/dwl/partyroles/retrieve-search-partyroles-response-to-cim.dwl

Mapping Tables

CIM - partyRoleSalesforce Global DataDescription
idIdThe customer id in Salesforce Global Data System
partyRoleTypeCustomerThe party role type hard coded as Customer Global Data System
party.idIdThe customer id in Salesforce Global Data System
partyTypeRecordType.NameThe party type stored in Salesforce Global Data System
globalPartyGlobal_Party_Id__cThe global party stored in Salesforce Global Data System
externalIds.idnullid field is hardcoded as null
externalIds.externalIdIdThe customer id in Salesforce Global Data System
externalIds.externalIdTypeMDMThe ExternalIdType is hardcoded as MDM
externalIds.statusLastChangedDateLastModifiedDateLast modified date to "yyyy-MM-dd'T'HH:mm:ssz"
externalIds.statusVALIDThe customer status is hardcoded as VALID
auditInfo.createdDateCreatedDateThe customer created date to "yyyy-MM-dd'T'HH:mm:ssz"
auditInfo.createdByCreatedBy.NameThe last created by user name
auditInfo.updatedDateLastModifiedDateThe last updated date to "yyyy-MM-dd'T'HH:mm:ssz"
auditInfo.updatedByLastModifiedBy.NameThe last modified user name
auditInfo.isDeletedIsDeletedreturns true if user deleted else false

(back to top)


Reviews

TypeTemplate
OrganizationMuleSoft
Published by
MuleSoft Solutions
Published onJan 30, 2024
Asset overview

Asset versions for 1.3.x

Asset versions
VersionActions
1.3.1
1.3.0